fixed bug in test level