fix to r make file to work on cluster