sensor: fixed Makefile
portal: small fixes