Fixed error that was used for testing