Fixing stuping error