solved step by step bug