fixed bug in unix fsp; inlined vector functions for easy ptr vector