You may have the connections to the blue and brown backwards, blue is your nutral and should be connected to the white wire of your plug or cord to the wall outlet, brown is your line voltage or hot and should be connected to your black wire of your plug or cord to the wall outlet, green is your earth ground and should be connected to your green wire of the plug or cord to the wall outlet.
It was to hard to tell the colors in your pics so I could not verify if have it right.