Fixed load projects error

TODO: fix loading past projects