fixed: fallback values of $status set
to 'close' by default in getElements