fix constraint breaking view