Size option and error fixes