fixed check solution