Fixed problem with usage of the $options variable