fixing resolution