debug fixed