bug corections