resolve layout none warnings