Fixing ready() callback