working on profiles image check for mag error