fixing physics, input component bug