Fixed small bug that crashed the daemon when sending raw codes