spec files
fixed undefined var