Bug with prefixes and optional variables