Fixed error that broke release builds