fixing bugs WIP

Space inside { missing.<br>Space inside } missing.