fix on ready