fixed bug for incomplete levels