Bug Fix for levels