Fixes ajax button