fixing box width when no props or methods