Minor corrections  (null testing and aspect ratio correction