fixed some syntax errors along with explicitly specifying the FD register component