check profile while prepare camera