fixed compilation details