fixed issue with hide completion handler