fix small glictches to run smoothly