Fixing staturBar bug